package visitor;

import visitor.interf.Element;
import visitor.interf.Visitor;

/**
 * 具体元素A类
 */
public class ConcreteElementA implements Element {
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }
    public String operationA() {
        return "具体元素A的操作。";
    }
}
